package com.info.zhiduoduo.repository.dto.foreign;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * @program: zhiduoduo
 * @author: LiTong
 * @create: 2020-11-11 19:49
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ToString
public class ForeignProjectInvoiceListDto {

    @ExcelIgnore
    @ApiModelProperty("发票id")
    private Integer id;

    @ExcelProperty(value = "创建时间")
    @ApiModelProperty("创建时间")
    private String createtime;

    @ExcelIgnore
    @ApiModelProperty("项目名称")
    private String projectName;

    @ExcelProperty(value = "自然人姓名")
    @ApiModelProperty("自然人姓名")
    private String realname;

    @ExcelProperty(value = "开票金额")
    @ApiModelProperty("开票金额")
    private BigDecimal amount;

    @ExcelProperty(value = "身份证号")
    @ApiModelProperty("自然人身份证号")
    private String idno;

    @ExcelProperty(value = "手机号")
    @ApiModelProperty("自然人手机号")
    private String phone;

    @ExcelIgnore
    @ApiModelProperty("开票状态(1 待开票 2 开票中 3 已开票)")
    private int state;

    @ExcelIgnore
    @ApiModelProperty("项目id")
    private int projectId;

    @ExcelIgnore
    @ApiModelProperty("是否为合并后的发票（默认0 否   1 是）")
    private int whetherMerge;

    @ExcelIgnore
    @ApiModelProperty("关联的主发票id")
    private int mergeId;

    @ExcelIgnore
    @ApiModelProperty("项目创建时间")
    private String projectCreateTime;


    @ExcelProperty(value = "项目名称")
    @ApiModelProperty("项目服务名称")
    private String projectServiceName;

    @ExcelIgnore
    @ApiModelProperty("发单企业")
    private String compname;

    @ExcelIgnore
    @ApiModelProperty("支付方式 1 得仕九歌  3 得仕武圣  5 得仕智圣")
    private int payAccount;
}
